package com.dms.modules.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品详情VO
 */
@Data
@ApiModel("商品详情VO")
public class ProductDetailVO {
    
    @ApiModelProperty("商品ID")
    private Long id;
    
    @ApiModelProperty("商家ID")
    private Long merchantId;
    
    @ApiModelProperty("商家名称")
    private String merchantName;
    
    @ApiModelProperty("分类ID")
    private Long categoryId;
    
    @ApiModelProperty("分类名称")
    private String categoryName;
    
    @ApiModelProperty("商品名称")
    private String name;
    
    @ApiModelProperty("商品价格")
    private BigDecimal price;
    
    @ApiModelProperty("商品原价")
    private BigDecimal originalPrice;
    
    @ApiModelProperty("商品库存")
    private Integer stock;
    
    @ApiModelProperty("商品状态：0-下架，1-上架")
    private Integer status;
    
    @ApiModelProperty("商品描述")
    private String description;
    
    @ApiModelProperty("商品图片列表")
    private List<String> images;
    
    @ApiModelProperty("商品规格")
    private String specs;
    
    @ApiModelProperty("商品销量")
    private Integer sales;
    
    @ApiModelProperty("商品浏览量")
    private Integer viewCount;
    
    @ApiModelProperty("创建时间")
    private String createTime;
    
    @ApiModelProperty("更新时间")
    private String updateTime;
    
    @ApiModelProperty("是否已收藏")
    private Boolean isFavorite;
    
    @ApiModelProperty("评分")
    private BigDecimal rating;
    
    @ApiModelProperty("评论数")
    private Integer commentCount;
} 